<%= content_for :footer_scripts do %>
  var output = <%= render(file: 'posts/index', formats: :json).html_safe %>;
<% end %>
